<div id="container">
    <form method="post" id="submit" name="submit">
        <div class="user-item">
            <label class="label-user">E-mail</label>
            <input id="username" name="username" style="border: 1px solid #ccc" type="text">
            <label style="display: none" class="error-notice email-error">Email không hợp lệ</label>
        </div>
        <div class="user-item">
            <label class="label-user">Mật khẩu</label>
            <input id="password" name="password" style="border: 1px solid #ccc" type="password">
            <label style="display: none" class="error-notice password-error">Mật khẩu quá ngắn.</label>
        </div>
        <div class="user-item">
            <label class="label-user">Quyền</label>
            <select name="group" style="border: 1px solid #ccc">
                <option value="1">Administrator</option>
                <option value="2">Member</option>
            </select>
        </div>
        <div class="user-item">
            <label class="label-user">Họ tên</label>
            <input name="name" autocomplete="off" style="border: 1px solid #ccc" type="text" >
        </div>
        <div class="user-item">
            <label class="label-user">Điện thoại</label>
            <input name="phone" style="border: 1px solid #ccc" type="text" >
        </div>
        <div class="user-item">
            <label class="label-user">Địa chỉ</label>
            <input name="address" style="border: 1px solid #ccc" type="text" >
        </div>

        <?php
            if(isset($reg) && $reg == "ok"){
                ?>
                    <div class="user-item">
                        <label style="color: #05B2E9" class="label-user">Tạo thành viên thành công</label>
                    </div>
                <?php
            }
        ?>

        <div class="user-item">
            <input onclick="registerUser();" class="button-item" type="button" value="Đồng ý">
        </div>
    </form>
</div>